body {
    background: url(../img/bj.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.jlt {
    width: 1000px;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    
}

.box {
    width: 150px;
    height: 200px;
    margin-left: 20px;
    background-image: url(../img/精灵图.png);
}

.box1 {

    background-position: 0 -375px;
}
.box2 {
    width: 200px;
    background-position: -158px -373px;
}
.box3 {
    background-position: -346px 0;
}


.laobing {
    margin: 100px auto;
    width: 400px;
    height: 330px;
    background-color: #cdf1e1;
    border: 5px solid red;
    background-image: url(../img/五角星1.jpg), url(../img/五角星2.jpg),url(../img/五角星1.jpg),url(../img/五角星1.jpg),url(../img/五角星1.jpg);
    background-repeat: no-repeat ,no-repeat,no-repeat,no-repeat,no-repeat;
    background-position: 5% 5%,center center,5% 95%,95% 5%,95% 95%;
    padding: 5px; ;
    position: relative;
}

.ling {
    width: 200px;
    position: absolute;
    top: -50px;
    left: -300px;
}

.shui {
    width: 170px;
    position: absolute;
    top: -80px;
    right: -280px;
}

p{
    height: 300px;
    text-align: center;
    line-height: 200px;
    color: #2047a9;
    font-weight: bold;
}


.jianbian {
    margin-top: 400px;
    width: 1200px;
    margin: 100px auto;
    overflow: hidden;
}

.box-1 {
    border-radius: 10px;
    width: 250px;
    height: 250px;
    margin-left: 50px;
    float: left;
}

.box-1:nth-child(1) {
    background-image: linear-gradient(red, rgb(39, 37, 189),rgb(0, 255, 76));
}

.box-1:nth-child(2) {
    background-image: radial-gradient(at top left,red, rgb(39, 37, 189),rgb(0, 255, 76));
}
.box-1:nth-child(3) {
    background-image: repeating-linear-gradient(to right,rgb(0, 179, 255),rgb(255, 0, 119) 50px);
}
.box-1:nth-child(4) {
    background-image:repeating-radial-gradient(circle,rgb(168, 205, 236),rgb(184, 101, 170) 20px)
}

.yuan {
    margin: 100px 900px;
    width: 200px;
    position: relative;
}

pre {
    position: absolute;
    top: 100px;
    left: -600px;
    border: 2px solid black;
    border-radius: 10px;
}


.yuan div:nth-child(1n) {
    width: 200px;
    height: 100px;
    border: 10px red dashed;
    margin-bottom: 5px;
}

.text-named-color {
    background-color: orange;
}
.text-rgb{
    background-color:rgb(90, 93, 131) ;
}
.text-sixteen{
    background-color: #cdf1e1;
}
.text-hsl{

    background-color:hsl(299, 30%, 60%) ;
}
.text-hsla{
     background-color:hsla(281, 39%, 20%, 0.4) ;
}
.text-opacity{
    background-color: rgba(255,0,0,0.3);
}